﻿@using Downloader.Web.Controllers.Admin
@model Downloader.Web.Controllers.ViewModels.WebSiteInfoViewModel
@{
    ViewBag.Title = "网站设置";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

@using (Html.BeginForm("SaveOrUpdate", "WebSiteInfo", FormMethod.Post, new { id = "webSiteInfoForm" }))
{
    @Html.HiddenFor(c => c.Id)  
    <table width="100%" cellspacing="0" cellpadding="0" style="padding:0px;margin:0px;">
        <tbody>
            <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 名称</b></p>
                </td>
                <td>
                    <p>
                        @Html.TextBoxFor(c => c.WebSiteName,new {style="width:400px;"})
                    </p>
                </td>
            </tr>
            <tr class="color2">
                <td width="20%">
                    <p align="left"><b>· 副标题</b></p>
                </td>
                <td>
                    <p>
                      @Html.TextBoxFor(c => c.SubWebSiteName,new {style="width:400px;"})
                    </p>
                </td>
            </tr>
            <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 介绍</b></p>
                </td>
                <td>
                    <p>
                      @Html.TextBoxFor(c => c.SubWebSiteName,new {style="width:400px;"})
                    </p>
                </td>
            </tr>
            <tr class="color2">
                <td width="20%">
                    <p align="left"><b>· 关键字</b></p>
                </td>
                <td>
                    <p>
                    @Html.TextBoxFor(c => c.KeyWord,new {style="width:400px;"})
                    </p>
                </td>
            </tr>
            <tr class="color3">
                <td width="20%">
                    <p align="left"><b>· 备案信息</b></p>
                </td>
                <td>
                    <p>
                      @Html.TextBoxFor(c => c.RecordInfo,new {style="width:400px;"})
                    </p>
                </td>
            </tr>
           
             </tbody>
    </table>
    <input type="submit" value="保存"/>
    
}
